package iii.myangeloldman;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Vibrator;

public class MyCall2 extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent arg1) {
		Vibrator vibrator = (Vibrator) context
				.getSystemService(Context.VIBRATOR_SERVICE);
		vibrator.vibrate(1000);
		Intent i=new Intent(context,Eatmed2.class);
		i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
		context.startActivity(i);

	}

}
